package com.example.hand.form;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class CarInfoForm {

    private Integer carId;

    private Integer brandId;

    @NotNull(message="标题不能为空")
    private String carTitle;

    private String carTopImage;

    private String CarContent;

    private String CarImage;

    private Integer carPower;

    private Integer carGearbox;

    @NotNull(message="车型不能为空")
    private Integer carType;

    private Integer carPrice;

    private Date CarLicenseDate;

    private Integer CarRoadNum;

    private Integer CarCountryNum;

    private Integer carEmissionNum;

    private Date createTime;

    private Date modifyTime;

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getCarTitle() {
        return carTitle;
    }

    public void setCarTitle(String carTitle) {
        this.carTitle = carTitle;
    }

    public String getCarTopImage() {
        return carTopImage;
    }

    public void setCarTopImage(String carTopImage) {
        this.carTopImage = carTopImage;
    }

    public String getCarContent() {
        return CarContent;
    }

    public void setCarContent(String carContent) {
        CarContent = carContent;
    }

    public String getCarImage() {
        return CarImage;
    }

    public void setCarImage(String carImage) {
        CarImage = carImage;
    }

    public Integer getCarPower() {
        return carPower;
    }

    public void setCarPower(Integer carPower) {
        this.carPower = carPower;
    }

    public Integer getCarGearbox() {
        return carGearbox;
    }

    public void setCarGearbox(Integer carGearbox) {
        this.carGearbox = carGearbox;
    }

    public Integer getCarType() {
        return carType;
    }

    public void setCarType(Integer carType) {
        this.carType = carType;
    }

    public Integer getCarPrice() {
        return carPrice;
    }

    public void setCarPrice(Integer carPrice) {
        this.carPrice = carPrice;
    }

    public Date getCarLicenseDate() {
        return CarLicenseDate;
    }

    public void setCarLicenseDate(Date carLicenseDate) {
        CarLicenseDate = carLicenseDate;
    }

    public Integer getCarRoadNum() {
        return CarRoadNum;
    }

    public void setCarRoadNum(Integer carRoadNum) {
        CarRoadNum = carRoadNum;
    }

    public Integer getCarCountryNum() {
        return CarCountryNum;
    }

    public void setCarCountryNum(Integer carCountryNum) {
        CarCountryNum = carCountryNum;
    }

    public Integer getCarEmissionNum() {
        return carEmissionNum;
    }

    public void setCarEmissionNum(Integer carEmissionNum) {
        this.carEmissionNum = carEmissionNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

}
